/**
 * <pre>
 * Title: 		TransType.java
 * Project: 	HappyLottery
 * Author:		linriqing
 * Create:	 	2013-4-15 下午04:55:45
 * Copyright: 	Copyright (c) 2013
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.msls.port.client.vo;

import com.hengpeng.msls.port.client.message.AndroidClientVersionMessage;
import com.hengpeng.msls.port.client.message.ArticleDiscussMessage;
import com.hengpeng.msls.port.client.message.ArticleMessage;
import com.hengpeng.msls.port.client.message.LoginMessage;
import com.hengpeng.msls.port.client.message.QueryArticleMessage;
import com.hengpeng.msls.port.client.message.WXMemberInfoMessage;



/**
 * <pre>
 * 客户端交易类型
 * </pre>
 * @author linriqing
 * @version 1.0, 2013-4-15
 */
public enum TransType
{
	/**
	 * 登录, 包括部分快登回调
	 */
	Ai306Login(LoginMessage.class, LoginMessage.class),
	
	
	
	/****************************** 定投神器手机客户端接口 ******************************/
	
	/**
	 * 登录, 包括部分快登回调
	 */
	Dt306Login(LoginMessage.class, LoginMessage.class),
	
	
	
	
	
	
	/**
	 * 首页滚动新闻查询
	 */
	IndexScrollNews(ArticleMessage.class, ArticleMessage.class),
	
	/**
	 * 首页新闻列表查询
	 */
	IndexNewsList(ArticleMessage.class, ArticleMessage.class),
	
	/**
	 * 根据新闻id查询新闻详情
	 */
	IndexNewById(QueryArticleMessage.class,QueryArticleMessage.class),
	
	
	/**
	 * 新闻评论请求
	 */
	ArticleDiscuss(ArticleDiscussMessage.class, ArticleDiscussMessage.class),
	
	/**
	 * 绑定微信账号
	 */
	WxAddMemberInfo(WXMemberInfoMessage.class, WXMemberInfoMessage.class),
	/**
	 * 修改绑定微信账号
	 */
	WxEditMemberInfo(WXMemberInfoMessage.class, WXMemberInfoMessage.class),
	
	/**
	 * 查询绑定记录
	 */
	DT306QueryMemberInfo(WXMemberInfoMessage.class, WXMemberInfoMessage.class),
	
	/**
	 * 检查版本号请求
	 */
	AndroidClientVersion(AndroidClientVersionMessage.class, AndroidClientVersionMessage.class);

	private Class<?> requestType;

	private Class<?> responseType;

	TransType(Class<?> requestType, Class<?> responseType)
	{
		this.responseType = responseType;
		this.requestType = requestType;
	}

	public Class<?> getRequestType()
	{
		return requestType;
	}

	public Class<?> getResponseType()
	{
		return responseType;
	}
}
